﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model.Enums;

namespace Model.Yw
{
    /// <summary>
    /// 登录账号
    /// </summary>
    [SugarTable("pub_UserJoin")]
    public class UserJoin : BaseDBModelV2
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [StringLength(100)]
        [Description("用户ID")]
        public string UserId { get; set; } = "";

        /// <summary>
        /// JoinId
        /// </summary>
        [StringLength(100)]
        [Description("JoinId")]
        public string JoinId { get; set; } = "";

        /// <summary>
        /// JoinType
        /// </summary>
        [Description("JoinType")]
        public EnumUserJoinType JoinType { get; set; }
    }
}
